<?php

	/**
	 * @see Zend_Application_Resource_Router
	 */
	require_once 'Zend/Application/Resource/Router.php';
	
	
	class Bike_Resource_Router extends Zend_Application_Resource_Router
	{
	    public function getRouter()
	    {
	        if(is_null($this->_router))
	        {
	        	parent::getRouter();
	        	$options = $this->getOptions();
		        if(isset($options['startingHandlers']))
		        {
					$this->_router->addStartingHandlersInfo($options['startingHandlers']);
		        }
			}
			return $this->_router;
	    }
	}
